<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<fmt:setBundle basename="com.ssi.mrms.language.room.room_label" />
<script type="text/javascript" src="../js/controller/room/RM008A.js" ></script>
<div id="container">
<form action="RM008Aadd" method="Post" name="main">
	<div id="content">
		<div class="warpper">
					<input id="roomId" name="model.rlrmid" value="${model.rlrmid}" type="hidden"  >
					<input id="sreqhid" name="model.sreqhid" value="${model.sreqhid}" type="hidden"  >
			
			<table class="from" style="width: 100%;">
				<tr>
					<td class="header2" style="border-bottom: 1px #bbb solid;">Criteria</td>
				</tr>
			</table>
			
			<table class="from" style="width: 100%;" >
				<tr >
					<td class="header">Document No. </td>
					<td><input  id="sreqhdocno" name="model.sreqhdocno" value="${model.sreqhdocno}" type="text"  ></td>
					<td class="header">Status</td>
					<td>
						<select id="sreqhstat" name="model.sreqhstat" value="${model.sreqhstat}"  class="input-default">
						    <option value="">----All----</option>
						    <option value="Y">Active</option>
						    <option value="N">Inactive</option>
						</select>
					</td>
					<td class="header">Priority</td>
					<td><select id="sreqhprt" name="model.sreqhprt" value="${model.sreqhprt}" class="input-default">
						    <option value="">----All----</option>
						    <option value="U">Urgent</option>
						    <option value="A">Standard</option>
						</select></td>
					<td colspan="2"></td>
				</tr>
				<tr>
					<td class="header">Tower </td>
					<td><select id="tower">
					</select><span class="required"></span></td>
				
					<td class="header">Floor </td>
					<td><select id="floor"></select><span class="required"></span></td>
				
					<td class="header">Unit </td>
					<td><select id="unit"></select><span class="required"></span></td>
				
					<td class="header">Address </td>
					<td><select id="address"></select><span class="required"></span></td>
				
				</tr>
			</table>
<%-- 			${model} --%>
<!-- 		end	Criteria -->
			<table class="from" style="width: 100%;">
				<tr>
					<td class="header2" style="border-bottom: 1px #bbb solid;">Detail</td>
				</tr>
			</table>		
<!-- 			detail -->
			<div class="fieldset" style="border: 1px;border-style: solid;">
			<table class="from"  style="width: 100%;">
				<tr>  
					 	<tr >
							<td class="header">Requestor </td>
							<td><input id="sreqhreqby" name="model.sreqhreqby" value="${model.sreqhreqby}" type="text" style="width: 50%;"></td>
							<td class="header">Requisition Date </td>
							<td><input id="sreqhreqdat" name="model.sreqhreqdat" value="${model.sreqhreqdat}" type="text" style="width: 50%;"></td>
						</tr>
					 	<tr >
							<td class="header">Phone </td>
							<td><input id="sreqhtel" name="model.sreqhtel" value="${model.sreqhtel}" type="text" style="width: 50%;"></td>
							<td colspan="2"></td>
						</tr>
					 	<tr >
							<td class="header">Description </td>
							<td colspan="3"><textarea id="sreqhdesc" name="model.sreqhdesc" value="${model.sreqhdesc}" style="width: 50%;"> input </textarea></td>
						</tr>
					 	<tr >
							<td class="header">Category </td>
							<td colspan="3">
							<table>
								<tr>
									<td><input type="checkbox" id="sreqhlht" name="model.sreqhlht"> Light &nbsp;</td>
									<td><input type="checkbox" id="sreqhtelele" name="model.sreqhtelele"> Tel & Electical &nbsp;</td>
									<td><input type="checkbox" id="sreqhaircon" name="model.sreqhaircon"> Air Condition &nbsp;</td>
									<td><input type="checkbox" id="sreqhstr" name="model.sreqhstr"> Sanitary &nbsp;</td>
								</tr>
								<tr>
									<td> <input type="checkbox" id="sreqhapl" name="model.sreqhapl"> Appliance &nbsp; </td>
									<td> <input type="checkbox" id="sreqhpool" name="model.sreqhpool"> Pool &nbsp;</td>
									<td> <input type="checkbox" id="sreqhcln" name="model.sreqhcln"> Clean &nbsp;</td>
									<td> <input type="checkbox" id="sreqhscr" name="model.sreqhscr"> Security &nbsp;</td>
								</tr>
							</table>
							</td>
						</tr>
						<tr >
							<td class="header">Concierge Name </td>
							<td><input id="sreqhconnm" name="model.sreqhconnm" value="${model.sreqhconnm}" style="width: 50%;"></td>
							<td class="header">Assign to </td>
							<td><input id="sreqhasto" name="model.sreqhasto" value="${model.sreqhasto}" type="text" style="width: 50%;"></td>
						</tr>
						<tr >
							<td class="header">Cause </td>
							<td colspan="3"><textarea id="sreqhcus" name="model.sreqhcus" value="${model.sreqhcus}" style="width: 50%;">  </textarea></td>
						</tr>	
						<tr >
							<td class="header">Spend Date </td>
							<td colspan="3">
								<input id="sreqhresdat" name="model.sreqhresdat" value="${model.sreqhresdat}" type="text" style="width: 150px;">
								Time : <input id="sreqhrestm" name="model.sreqhrestm" value="${model.sreqhrestm}" type="text" style="width: 150px;">
							</td>
						</tr>					
						<tr >
							<td class="header">Waiting Date </td>
							<td>
								<input id="sreqhwtdat" name="model.sreqhwtdat" value="${model.sreqhwtdat}" type="text" style="width: 150px;">
								Time : <input id="sreqhwttm" name="model.sreqhwttm" value="${model.sreqhwttm}" type="text" style="width: 150px;">
							</td>
							<td class="header">Cause of Waiting Time </td>
							<td><input id="sreqhcuswttm" name="model.sreqhcuswttm" value="${model.sreqhcuswttm}" type="text" style="width: 50%;"></td>
						</tr>	
						<tr >
							<td class="header">Completion Date</td>
							<td colspan="3">
								<input id="sreqcptdate" name="model.sreqcptdate" value="${model.sreqcptdate}" type="text" style="width: 150px;">
								Time : <input id="sreqcpttm" name="model.sreqcpttm" value="${model.sreqcpttm}" type="text" style="width: 150px;">
							</td>
						</tr>				
			</table>	
			</div>
<!-- 		end detail -->
<!-- 			Button -->
			<table>
				<tr><td align="left">
						<button type="button" class="btn btn-default btn-primary" onclick="location = 'RM008'"><i class="fa fa-hand-o-left"></i> Back</button>
					</td>
					<td align="right">
						<button type="submit" class="btn btn-default btn-primary"><i class="fa fa-save"></i> Save</button>
					</td>
				</tr>	
			</table>

		</div>
	</div>
	</form>
</div>
